From 8482630322ecaad951c33674a2ccd79b04890a8f Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 26 Apr 2007 09:51:39 +0100 Subject: [PATCH] xend: Tidy bootloader device constant. In XendDomainInfo, BOOTLOADER_LOOPBACK_DEVICE is defined to be '/dev/xvdp'. However, there is still one place in this file that has '/dev/xvdp' hard-coded. Signed-off-by: Charles Coffing --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 0c519a4ee4..3630fe61d4 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1820,7 +1820,7 @@ class XendDomainInfo: log.info("Unmounting %s from %s." % (fn, BOOTLOADER_LOOPBACK_DEVICE)) - dom0.destroyDevice('tap', '/dev/xvdp') + dom0.destroyDevice('tap', BOOTLOADER_LOOPBACK_DEVICE) if blcfg is None: msg = "Had a bootloader specified, but can't find disk" -- 2.30.2